package com.project.market.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName MarketRegionVO
 * @Description: TODO
 * @Author 远志 zhangsong@cskaoyan.onaliyun.com
 * @Date 2023/6/20 10:15
 * @Version V1.0
 **/
@Data
public class MarketRegionVO {

    private Integer id;

    private String name;

    private Integer code;

    private List<MarketRegionVO> children = new ArrayList<>();

    public MarketRegionVO() {
    }

    public MarketRegionVO(Integer id, String name, Integer code) {
        this.id = id;
        this.name = name;
        this.code = code;
    }
}
